//go:build !edge

package compile

import (
	"github.com/gin-gonic/gin"
	"iot-base/auth/model"
	"iot-base/auth/routes"
)

var IsGate = false

func InitGate(g *gin.Engine) {
	// 初始化表
	model.NewInitTable().CreateGate()
	// 初始路由
	routes.InitGateRoute(g)
}
